Optimal. Leaf size=77 \[ \frac{\log (x) (a-b x)}{a \sqrt{-a^2+2 a b x-b^2 x^2}}-\frac{(a-b x) \log (a-b x)}{a \sqrt{-a^2+2 a b x-b^2 x^2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0847769, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148 \[ \frac{\log (x) (a-b x)}{a \sqrt{-a^2+2 a b x-b^2 x^2}}-\frac{(a-b x) \log (a-b x)}{a \sqrt{-a^2+2 a b x-b^2 x^2}} \]
Antiderivative was successfully verified.
[In] Int[1/(x*Sqrt[-a^2 + 2*a*b*x - b^2*x^2]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.2565, size = 63, normalized size = 0.82 \[ - \frac{\sqrt{- a^{2} + 2 a b x - b^{2} x^{2}} \log{\left (x \right )}}{a \left (a - b x\right )} + \frac{\sqrt{- a^{2} + 2 a b x - b^{2} x^{2}} \log{\left (a - b x \right )}}{a \left (a - b x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x/(-(b*x-a)**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0227044, size = 36, normalized size = 0.47 \[ \frac{(a-b x) (\log (x)-\log (a-b x))}{a \sqrt{-(a-b x)^2}} \]
Antiderivative was successfully verified.
[In] Integrate[1/(x*Sqrt[-a^2 + 2*a*b*x - b^2*x^2]),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 38, normalized size = 0.5 \[{\frac{ \left ( bx-a \right ) \left ( \ln \left ( bx-a \right ) -\ln \left ( x \right ) \right ) }{a}{\frac{1}{\sqrt{- \left ( bx-a \right ) ^{2}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x/(-(b*x-a)^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-(b*x - a)^2)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.221138, size = 92, normalized size = 1.19 \[ \sqrt{-\frac{1}{a^{2}}} \log \left (-\frac{i \,{\left (a^{2} \sqrt{-\frac{1}{a^{2}}} + 2 i \, b x - i \, a\right )}}{2 \, b}\right ) - \sqrt{-\frac{1}{a^{2}}} \log \left (\frac{i \,{\left (a^{2} \sqrt{-\frac{1}{a^{2}}} - 2 i \, b x + i \, a\right )}}{2 \, b}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-(b*x - a)^2)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x \sqrt{- \left (- a + b x\right )^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x/(-(b*x-a)**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \mathit{undef} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-(b*x - a)^2)*x),x, algorithm="giac")
[Out]